Returns a list of Users in the organization
Returns a list of Users in the organization
Path Parameters
Unique identifier of the organization
- 200
- 401
- 429
- 500
An array of User IDs
Schema
- Array [
- ]
Unique identifier for the organization to which the user belongs.
Unique identifier for the user.
Name of the user.
Email address of the user.
Role of the user within the organization.
[
{
"orgId": "aa01abcdefghijjkl",
"userId": "aa01abcdefghijjkm",
"name": "John Doe",
"email": "johndoe@ztnet.network",
"role": "USER"
}
]
[
{
"orgId": "aa01abcdefghijjkl",
"userId": "cltnemyox00004vypy4u69r5x",
"name": "John Doe",
"email": "johndoe@ztnet.network",
"role": "USER"
},
{
"orgId": "aa01abcdefghijjkm",
"userId": "cltnemyox00004vypy4u69r5y",
"name": "Jane Doe",
"email": "janedoe@ztnet.network",
"role": "ADMIN"
}
]
Unauthorized access, indicating that the request has not been applied because it lacks valid authentication credentials for the target resource.
Schema
A message detailing the reason for the unauthorized status.
{
"error": "Unauthorized: API key is missing or invalid."
}
API key is missing
{
"error": "Unauthorized: API key is missing."
}
API key is invalid
{
"error": "Unauthorized: API key is invalid."
}
Rate limit exceeded, indicating that the request was not accepted because the application has exceeded the rate limit for the API.
Schema
A message detailing the reason for exceeding the rate limit.
{
"error": "Rate limit exceeded. Try again in X minutes."
}
Example response for rate limit exceeded
{
"error": "Rate limit exceeded. Try again in 1 minute."
}
Internal Server Error, indicating that the server encountered an unexpected condition that prevented it from fulfilling the request.
Schema
A message detailing the unexpected condition encountered by the server.
{
"error": "Internal server error. Please try again later."
}
Example response for an internal server error
{
"error": "Internal server error. Please try again later."
}